Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-transform-animations

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-transform-animations

``` npm install --save postcss-transform-animations ```

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

postcss-transform-animations

npm install --save postcss-transform-animations

Transforms all animations in a CSS file.

import { camelCase } from 'lodash';
import transformAnimations from 'postcss-transform-animations';

return postcss([
  transformAnimations({
    transform: camelCase,
  }),
])
  .process(...)

By default will throw if two different animations produce the same output. In the example above, an error would be thrown if you had @keyframes foo-bar and @keyframes fooBar. You can disable this by setting allowConflicts: true.

Will also replace animation and animation-name declarations to match transformed keyframe names (spec compliant).

FAQs

Package last updated on 30 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc